<template>
  <div>
    <el-checkbox-group size="mini" v-model="checkedList">
      <el-checkbox v-for="(val,index) in comp.config.optionList" :key="val.id" :label="val.id">
        {{val.label}}
      </el-checkbox>
    </el-checkbox-group>
    <slot/>
  </div>
</template>

<script>

export default {
  name: "checkboxView",
  components: {},
  props: ["comp"],
  data() {
    return {
      checkedList:[]
    };
  },
  computed: {},
  methods: {},
  mounted() {

  }
}
</script>,
<style scoped>

</style>
